<template>
	<view class="container">
		<uni-card title="昵称" thumbnail="../../static/logo.png" extra="额外信息" note="Tips">
		</uni-card>
		<view class="room">
			<uni-card>
				<view class="join">
					加入房间
				</view>
			</uni-card>
			<uni-card @click="toRoom">
				<view class="create">
					创建房间
				</view>
			</uni-card>
		</view>
	</view>
</template>

<script setup>
	const toRoom = ()=>{
		uni.navigateTo({
			url:"/pages/room/room"
		})
	}
</script>

<style lang="less">
	.room{
		display: flex;
	}
</style>
